]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Warn when trying to access a deprecated actor property
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Apr 2019 18:34:29 +0000 (13:34 -0500)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 21:32:18 +0000 (21:32 +0000)
commit526bb72f3d10d21e59eee5f3557ec32081845684
treed003f5ec1f13bcaeca6eb3a191bd828aa312c8db
parent49c95cff6c9c35e10bc11aab86d75bb0f0d295f6
environment: Warn when trying to access a deprecated actor property

The port away from the old Shell.GenericContainer actor turned many JS
classes with a corresponding actor property into Clutter.Actor subclasses.
For compatibility reasons, those properties were kept around for a while.
They were now removed and any code that still uses them should be adjusted.

Facilitate that transition by defining the compatibility property on
Clutter.Actor itself, but log a warning every time it is accessed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487
js/ui/environment.js